package cn.weyoungstudio.hwes.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


public class Score implements Serializable {


    private static final long serialVersionUID = 1L;
    private Integer scoreId;
    private Integer workId;
    private Integer userId;
    private BigDecimal result;
    private Date createTime;

    /**
     * @return score_id
     */
    public Integer getScoreId() {
        return scoreId;
    }

    /**
     * @param scoreId
     */
    public void setScoreId(Integer scoreId) {
        this.scoreId = scoreId;
    }

    /**
     * @return work_id
     */
    public Integer getWorkId() {
        return workId;
    }

    /**
     * @param workId
     */
    public void setWorkId(Integer workId) {
        this.workId = workId;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return result
     */
    public BigDecimal getResult() {
        return result;
    }

    /**
     * @param result
     */
    public void setResult(BigDecimal result) {
        this.result = result;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", scoreId=").append(scoreId);
        sb.append(", workId=").append(workId);
        sb.append(", userId=").append(userId);
        sb.append(", result=").append(result);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}